import App from './App';
import 'library/onBackQuit/onBackQuit.js';//监听处理物理返回键事件
// import 'library/onNetworkStatusChange/onNetworkStatusChange.js';//监听网络变化
import store from '@/store/store.js';//vuex




//vue2--------------------
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app';
const app = new Vue({
	 store,
	...App
})
app.$mount()
// #endif




//vue3---------------------
// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App);
	app.use(store);
	return {
		app
	}
}
// #endif
